import request from "@/utils/request.js"

const API = {
    BANNERADD_URL: '/banner/add',//新增轮播图
    BANNERGETLIST_URL: '/banner/list',//获取轮播图列表
    BANNERDELETE_URL: '/banner/delete',//删除轮播图
    //    BANNERADD_URL: '/banner/add',//新增轮播图
    //    BANNERGETLIST_URL: '/banner/getlist',//获取轮播图列表
    //    BANNERDELETE_URL: '/banner/delete',//删除轮播图
    //    BANNERADD_URL: '/banner/add',//新增轮播图

}
export const addBanner = values => request.post(API.BANNERADD_URL, values);
export const getBannerList = values => request.post(API.BANNERGETLIST_URL, values);
export const deleteBanner = values => request.post(API.BANNERDELETE_URL, values);
